export const advertisingData11 = {
  computed: {

  },
  created() {
  },
  data() {
    return {
      advertisingDataType: {
        bannerList: 'bannerList',
        stimulateList: 'stimulateList', // 激励广告
        popUpList: 'popUpList', // 弹出广告
        videoList: 'videoList', // 视频广告
        videoPasteList: 'videoPasteList', // 视频贴广告
        originalList: 'originalList' // 原生广告
      }
    };
  },
  methods: {
    advertisingData1(type) {
      var advertising = uni.getStorageSync('advertising') || {};
      var list = advertising ? advertising[type] : [];
      if (list) {
        var rand = Math.floor(Math.random() * list.length);
        return list[rand] && list[rand].id;
      }

    }

  }
};